#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Time: 2019/6/12  18:20
# @Author: 余浪人
# @email: yulangren520@gmail.com
from wtforms import Form, TextAreaField, BooleanField


class AdCooperation_Form(Form):
    status = BooleanField(
        label='显示状态', default=1, render_kw={"lay-skin": "switch", "lay-text": "开启|关闭", "style": "width: 50px;"})
    content = TextAreaField('广告合作', render_kw={"class": "layui-textarea", "rows": "20"})


class Contribute_Form(Form):
    status = BooleanField(
        label='显示状态', default=1, render_kw={"lay-skin": "switch", "lay-text": "开启|关闭", "style": "width: 50px;"})
    content = TextAreaField('投稿说明', render_kw={"class": "layui-textarea","rows": "20"})


class Feedback_Form(Form):
    status = BooleanField(
        label='显示状态', default=1, render_kw={"lay-skin": "switch", "lay-text": "开启|关闭", "style": "width: 50px;"})
    content = TextAreaField('留言反馈', render_kw={"class": "layui-textarea","rows": "20"})


class Infringement_Form(Form):
    status = BooleanField(
        label='显示状态', default=1, render_kw={"lay-skin": "switch", "lay-text": "开启|关闭", "style": "width: 50px;"})
    content = TextAreaField('侵权内容', render_kw={"class": "layui-textarea","rows": "20"})
